#!/usr/bin/env python3
# -*- coding:utf-8 -*-

LuckyNum = 6
InputNum = 0

for i in range(3):
    InputNum = int(input("Input the num:"))
    if InputNum > LuckyNum:
        print("数字输入大了！")
    elif InputNum < LuckyNum:
        print("数字输入小了！")
    else:
        print("Bingo!")
        break
else:
    print("尝试了太多次了！")